﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAL;
using DTO;

namespace BLL
{
	public class LOAIRANGBUS
	{
		public static DataTable GetListLR()
		{
			LOAIRANGDAO b = new LOAIRANGDAO();
			return b.GetListLR();
		}
		public static List<LOAIRANG> GetListLRs()
		{
			LOAIRANGDAO b = new LOAIRANGDAO();
			return b.GetListLRs();
		}
		public static String CreateNewID()
		{
			LOAIRANGDAO b = new LOAIRANGDAO();
			return b.CreatenewId();
		}
		public static bool INSERT(LOAIRANG lr)
		{
			LOAIRANGDAO b = new LOAIRANGDAO();
			return b.INSERT(lr);
		}
		public static bool UPDATE(LOAIRANG lr)
		{
			LOAIRANGDAO b = new LOAIRANGDAO();
			return b.UPDATE(lr);
		}
		public static bool DELETE(LOAIRANG lr)
		{
			LOAIRANGDAO b = new LOAIRANGDAO();
			return b.DELETE(lr);
		}
	}
}
